<script language="javascript">
    
    function insertDetailWizzard() {
             
            html = insertDatabaseDetail();
            
            
            if (ifCkeditor()) {
                  insertText(html);
            } else {
                $("#editor").append(html);     
            }
            
  
            
            
           
            $('#dialogBox').dialog('close');    
        
    }
    
</script>

    
    <form action="" method="post" name="insertForm" id="insertForm">
      <p>Tabelle</p>
      <p>
        <select name="tableFormular" id="tableFormular"  onchange="refreshData('/code/ajax/form_wizzard_tablefield2.php?t='+$('#tableFormular').val(),'form_wizzard_tablefield2');" table_list="">
          <option value="[table]">[table]</option>
          </select>
      </p>
<div ajax="true" name="form_wizzard_tablefield2" id="form_wizzard_tablefield2">
<div ifexist="[parameter:t]">    
      <ul  table_field_list="[get:t]" >
        <li>
          <label>
            <input type="checkbox" name="[field]" id="[field]" value="[field]" />
            [field]</label>
        </li>
      </ul>
      
      <p>
        <label>
          <input type="button" name="button" id="button" value="Detail Daten einf&uuml;gen" onClick="insertDetailWizzard();">
        </label>
      </p>
    </div>
    </div>
</form>    